/*
 * @Description: 游戏类
 * @Author: rendc
 * @Date: 2025-08-04 10:18:16
 * @LastEditors: rendc
 * @LastEditTime: 2025-08-04 10:24:57
 */

public class Game {
  // 启动踢足球的游戏
  public void start(FootBall footBall) {
    footBall.play();
  }

  // 启动打篮球的游戏
  public void start(BasketBall basketBall) {
    basketBall.play();
  }

  // 启动打乒乓球的游戏
  // public void start(PingPang pingPang) {
  // pingPang.play();
  // }
}